package com.axjy.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.axjy.mapper.GhTypeMapper;
import com.axjy.pojo.GhType;
import com.axjy.service.GhTypeService;

@Transactional
@Service("ghTypeService")
public class GhTypeServiceImpl implements GhTypeService{

	@Resource
	private GhTypeMapper ghTypeMapper;
	
	@Transactional(readOnly=true)
	@Override
	public List<GhType> list() {
		return ghTypeMapper.list();
	}

}
